package org.factory.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 笔记本电脑实体类
 *
 * @author LiKun
 * @date 2021/8/19 14:42
 */
@Data
@NoArgsConstructor
public class Computer {
    /**
     * 笔记本电脑品牌
     */
    private String brand;

    /**
     * 笔记本电脑价格
     */
    private BigDecimal price;

    public Computer(BigDecimal price) {
        this.price = price;
    }
}
